package cz.muni.fi.pa036is.controllers;

import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class BaseController {

	@RequestMapping("/")
	public String index(ModelMap model, HttpSession session) {

		session.setAttribute("isAdmin", false);
		
		return "redirect:/admin/season/season";
	}
}
